{% load staticfiles %}
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
    <head>
        <meta charset="utf-8">
        <meta name="renderer" content="webkit">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
        <link rel="stylesheet" href="{% static 'css/layui.css' %}">
        <link rel="stylesheet" href="{% static 'css/index.css' %}">
        <title>配置添加</title>
    </head>
    <body>
         <form id="formall" name="formall" class="layui-form">\
            <div class="layui-tab">
                <ul class="layui-tab-title">
                    <li class="layui-this">版本提交</li>
                </ul>
                <div class="layui-tab-content">
                    <div class="layui-tab-item layui-show">
                        <div class="layui-form-item">
                            <label class="layui-form-label">版本号</label>
                            <div class="layui-input-block">
                                <input type="text" id="versionnum" name="versionnum" lay-verify="textbox" placeholder="请输入" autocomplete="off" class="layui-input layui-input-new" >
                                <input type="checkbox" id="notag" name="notag" lay-filter="notag" title="不新增版本">
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">提交信息</label>
                            <div class="layui-input-block">
                                <textarea id="commitmessage" lay-verify="required" name="commitmessage" placeholder="请输入内容" class="layui-textarea layui-textarea-new"></textarea>
                            </div>
                        </div>
                        <div class="layui-form-item layui-form-text">
                            <label class="layui-form-label">版本信息</label>
                            <div class="layui-input-block">
                                <textarea id="tagmessage" name="tagmessage" placeholder="请输入内容" class="layui-textarea layui-textarea-new"></textarea>
                            </div>
                        </div>
                        <div class="layui-form-item">
                            <div class="layui-input-block">
                                <button class="layui-btn" lay-submit lay-filter="submitgit">立即提交</button>
                                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </form>

        <script src="{% static 'layui.all.js' %}"></script>
         <script type="text/javascript">
            var module_name = {{ module| safe }};
        </script>
        <script src="{% static 'js/update/gitadd.js' %}"></script>
    </body>
</html>